package com.njmt.cloud.msprovder.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.njmt.cloud.msprovder.mapper.PermissionMapper;
import com.njmt.cloud.msprovder.service.PermissionService;
import com.njwt.cloud.mscommon.pojo.bo.PermissionBo;
import com.njwt.cloud.mscommon.pojo.vo.PermissionVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author <a href="mailto:xingxiaofeng@gtmap.cn">xingxiaofeng</a>
 * @date 2022-06-22
 * @desc PermissionServiceImpl
 */
@Service
public class PermissionServiceImpl extends ServiceImpl<PermissionMapper, PermissionBo> implements PermissionService {

    @Override
    public List<PermissionVo> findAuthorityByUserId(String id) {
        return baseMapper.findAuthorityByUserId(id);
    }
}
